package com.erp.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;


/**
 * Description: TeamProject
 * Created by ${ZhangZhenJun}on 2019/1/10.
 */
public class Income implements Serializable {
    private String supplier;
    private String type;
    private String billNo;
    private String pName;
    //格式化日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date billTime;
    private String remark;
    private String projectName;
    private Double eachAmount;
    private String account;
    private int accountId;

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Date getBillTime() {
        return billTime;
    }

    public void setBillTime(Date billTime) {
        this.billTime = billTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Double getEachAmount() {
        return eachAmount;
    }

    public void setEachAmount(Double eachAmount) {
        this.eachAmount = eachAmount;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Income{" +
                "supplier='" + supplier + '\'' +
                ", type='" + type + '\'' +
                ", billNo='" + billNo + '\'' +
                ", pName='" + pName + '\'' +
                ", billTime=" + billTime +
                ", remark='" + remark + '\'' +
                ", projectName='" + projectName + '\'' +
                ", eachAmount=" + eachAmount +
                ", account='" + account + '\'' +
                ", accountId=" + accountId +
                '}';
    }
}
